⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userblog.java

📁 源码/软件简介: 云网论坛1.1RC国际版是采用JSP开发的集论坛、CMS(网站内容管理系统)、博客、聊天室、商城、交友、语音灌水等于一体的门户式社区。拥有CWBBS ( Cloud Web BBS
💻 JAVA
字号:
package com.redmoon.blog;

import com.redmoon.forum.MsgDb;
import java.util.Vector;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2005</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class UserBlog {
    public UserBlog(String userName) {
        this.userName = userName;
    }

    /**
     *
     * @param userName
     * @param year int
     * @param month int
     * @return int[] 月份的第一天的日志数为int[1]
     */
    public int[] getBlogDayCount(int year, int month) {
        MsgDb md = new MsgDb();
        return md.getBlogMsgDayCount(userName, year, month);
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public Vector getBlogDayList(int year, int month, int day) {
        MsgDb md = new MsgDb();
        return md.getBlogDayList(userName, year, month, day);
    }

    private String userName;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -